class ImageInfo(object):
    def __init__(self, file_path, left_up, right_down, width, height):
        self.file_path = file_path
        self.left_up = left_up
        self.right_down = right_down
        self.width = width
        self.height = height

    def __gt__(self, other):
        return (self.left_up > other.left_up)

    def __lt__(self, other):
        return (self.left_up < other.left_up)

    def __le__(self, other):
        return (self.left_up <= other.left_up)

    def __ge__(self, other):
        return (self.left_up >= other.left_up)

    def __str__(self):
        return (self.file_path + '  Left_up: ' + str(self.left_up) + ' Right_down: ' + str(self.right_down))
